Re: Euphoria 2.4 Alpha-test Release!
Hi Rob, you wrote:
<snip>
> The &= operation is slower in this particular case,
> (millions of concatenations),
> because in 2.3 exw.exe and ex.exe use a special
> Watcom _expand() routine to expand
> the block "in-place". After switching to HeapAlloc, I could
> no longer (easily) use that trick. ex.exe is not affected.
> Other C compilers either do not support this trick at all,
> or it's broken (Borland). I'll review some of my algorithms
> again, now that I'm using HeapAlloc.
>
> By the way, the reason for using HeapAlloc on
> the standard heap in 2.4, is so .dll's written in Euphoria
> can properly free data allocated in the main program,
> and vice versa. That wasn't working correctly in 2.3
> and earlier, although you might not notice. You'd have
> two separate heaps, which (kind of) worked,
> but could never be made totally correct.
>
> -- Rob Craig
Thanks for this interesting explanation!
Best regards,
Juergen
--
/"\ ASCII ribbon campain | while not asleep do
\ / against HTML in | sheep += 1
X e-mail and news, | end while
/ \ and unneeded MIME |
|
Not Categorized, Please Help
|
|