From 4f87806616587c77db352f701ec93410060b5dba Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 30 Dec 2010 18:06:15 +0100 Subject: Improved Makefile and .gitignore --- synth/OPTIMIZATIONS | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'synth/OPTIMIZATIONS') diff --git a/synth/OPTIMIZATIONS b/synth/OPTIMIZATIONS index 2dd003f..b8bfe0d 100644 --- a/synth/OPTIMIZATIONS +++ b/synth/OPTIMIZATIONS @@ -1,7 +1,7 @@ Sinnlose Optimierungen o if(foo.fm_strength!=0) ...: kein effekt, höchstens leichter anstieg! - Mögliche Optimierungen +Mögliche Optimierungen o 10% filter ganz auf fixed_t umstellen? o 5% envelope::get_level nur alle n frames arbeiten lassen, sonst cachen? o 2% bei LFOs: bei jedem LFO-update die werte für env-max, freqfactor @@ -11,8 +11,11 @@ Sinnlose Optimierungen x 0% beim channel::get_sample: pro note immer mehrere samples auf einmal holen (iterator braucht recht viel leistung) wird von g++ automatisch wegoptimiert -> ok + +Kein negativer Einfluss auf die Performance: + o _virtual_ void Note::get_samples (mit time nicht erkennbar) - Mögliche Bugs und ihre Lösung: +Mögliche Bugs und ihre Lösung: o frequenz wird nicht genau eingehalten: phase um foo*WAVE_RES erhöhen, entsprechend wave[][bar] ändern. ABER: im testfall um bis zu 15% langsamer -- cgit v1.2.3