Hi,


I am working on implementation of DAWG algorithm in my project. I am using 
emscripten to convert it into webassembly.


Library Link: here <http://code.google.com/p/dawgdic/>
Code Link: here <https://demophp.digi-corp.com/nitin/dawg-builder-test.cpp>


./emcc -g test/dawg-builder-test.bc -o dawg.html -s NO_EXIT_RUNTIME=1 -s 
ALLOW_MEMORY_GROWTH=1 -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", 
"cwrap"]' -g4 -O2


I need to store multiple string of hostnames like this
"lequipe.fr|ilgiornale.it|sportmediaset.mediaset.it|meteo.it|ilmessaggero.it|ilmattino.it|today.it|romatoday.it|lavanguardia.com|lalsace.fr|fussballtransfers.com|lejsl.com|bienpublic.com|dna.fr|leprogres.fr|ledauphine.com|estrepublicain.fr|vosgesmatin.fr|footmercato.net|fichajes.com|abc.es|buzzfeed.com|pcworld.es|buzzfeednews.com|macworld.co.uk|cio.co.uk|computerworlduk.com........"


When I load webassembly in javascript and load data then HEAP size become 
too high..and I see lots of indexes with value 0. 


Please help me.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to