[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH 1/2] kernel: Make >>#new/>>#new: go through
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] [PATCH 1/2] kernel: Make >>#new/>>#new: go through >>#initialize |
Date: |
Sat, 26 Jul 2014 18:20:18 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sat, Jul 26, 2014 at 02:18:12PM +0200, Holger Hans Peter Freyther wrote:
> Would now call initialize twice. I will squash the two patches and
> write a "NEWS" items.
I have a macro-benchmark of [] vs. [Object new] vs. [Object basicNew]
and we pay a lot for the extra message send. This is besides the code
in _gst_send_message_internal already checking for the "self" routine.
I could cheat and add another "cache" for Behavior>>#new or make it
another kind of primitive?
Do you have an opinion/idea on that?
holger