On Tue, 05 Jan 2016 07:39:31 -0600,
Alexander Shopov wrote:
>
> > break up your big function into small ones.
> Apart from the obvious maintainability concerns - is there some rule
> of thumb - how big a function shoul be in order to be inlined either
> compile time or run time. If a code path is
On Jan 5, 2016, at 8:39 AM, Alexander Shopov wrote:
>> break up your big function into small ones.
> Apart from the obvious maintainability concerns - is there some rule
> of thumb - how big a function shoul be in order to be inlined either
> compile time or run time. If a
> break up your big function into small ones.
Apart from the obvious maintainability concerns - is there some rule
of thumb - how big a function shoul be in order to be inlined either
compile time or run time. If a code path is hot - what could stop the
inlining?
Kind regards:
al_shopov
--
You
[[ Please, please break up your big function into small ones.
A function per handler would be a good start. -- Matthias ]]
On Dec 26, 2015, at 9:52 AM, Taro Annual wrote:
> 2015年12月26日土曜日 21時54分52秒 UTC+9 Matthew Flatt:
>> At Fri, 25 Dec 2015 22:17:21 -0800 (PST),
2015年12月27日日曜日 11時39分10秒 UTC+9 Matthew Flatt:
> At Sat, 26 Dec 2015 06:52:19 -0800 (PST), Taro Annual wrote:
> > 2015年12月26日土曜日 21時54分52秒 UTC+9 Matthew Flatt:
> > > Can you try a current snapshot to see whether it eliminates pauses?:
> > >
> > > http://pre.racket-lang.org/
> > >
> > > [...]
>
Hi Taro,
The freezes are probably garbage-collection pauses. Recently (in the
snapshot builds) there is a new incremental GC mode that may improve
your program.
I have a few libraries---lux and mode-lambda---that are designed for
higher performance than 2htdp/universe and 2htdp/image but provide
2015年12月26日土曜日 21時52分36秒 UTC+9 Jay McCarthy:
> Hi Taro,
>
> The freezes are probably garbage-collection pauses. Recently (in the
> snapshot builds) there is a new incremental GC mode that may improve
> your program.
>
> I have a few libraries---lux and mode-lambda---that are designed for
>
At Fri, 25 Dec 2015 22:17:21 -0800 (PST), Taro Annual wrote:
> I make "pong" game in big-bang(2hdp/universe).
> But, moving a racket(not language!) by keyboard("up", "down", ...), the
> racket
> freezes in 0.3~0.5s sometimes.
>
> I think it is due to the beginner's platform.
> What
2015年12月26日土曜日 21時54分52秒 UTC+9 Matthew Flatt:
> At Fri, 25 Dec 2015 22:17:21 -0800 (PST), Taro Annual wrote:
> > I make "pong" game in big-bang(2hdp/universe).
> > But, moving a racket(not language!) by keyboard("up", "down", ...), the
> > racket
> > freezes in 0.3~0.5s sometimes.
> >
> > I
At Sat, 26 Dec 2015 06:52:19 -0800 (PST), Taro Annual wrote:
> 2015年12月26日土曜日 21時54分52秒 UTC+9 Matthew Flatt:
> > Can you try a current snapshot to see whether it eliminates pauses?:
> >
> > http://pre.racket-lang.org/
> >
> > [...]
>
> Sorry, it doesn't work well. Try the follows:
Can you
Hi,
I make "pong" game in big-bang(2hdp/universe).
But, moving a racket(not language!) by keyboard("up", "down", ...), the racket
freezes in 0.3~0.5s sometimes.
I think it is due to the beginner's platform.
What modules/syntaxes are used in action games in Racket language.
Thanks,
Taro.
--
11 matches
Mail list logo