[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Iliad - updating elements
From: |
Stefan Schmiedl |
Subject: |
Re: [Help-smalltalk] Iliad - updating elements |
Date: |
Tue, 14 Jul 2009 09:24:25 +0200 |
On Tue, 14 Jul 2009 01:47:51 +0200
Nicolas Petton <address@hidden> wrote:
> I already added Iliad.Id>>printOn:, just update :)
Well, I did ... and while looking at the diffs I noticed
Iliad.Id table for the first time.
It is implemented on the instance side and builds the array
with the character pool, from which the random ids (themselves a
subclass of ByteArray) are built. And it is called quite often
when constructing an id.
address@hidden iliad $ gst
GNU Smalltalk ready
st> PackageLoader fileInPackage: 'Iliad'
...
st> Time millisecondsToRun: [ 10000 timesRepeat: [Iliad.Id new ] ]
3086
st> Time millisecondsToRun: [ 10000 timesRepeat: [Iliad.Id new ] ]
3087
st>
code code clickty click ...
address@hidden iliad $ gst
GNU Smalltalk ready
st> PackageLoader fileInPackage: 'Iliad'
st> Time millisecondsToRun: [ 10000 timesRepeat: [Iliad.Id new ] ]
384
st> Time millisecondsToRun: [ 10000 timesRepeat: [Iliad.Id new ] ]
383
off to work,
s.
id.patch
Description: Text Data
signature.asc
Description: PGP signature
- [Help-smalltalk] Iliad - updating elements, Stefan Schmiedl, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Nicolas Petton, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Stefan Schmiedl, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Nicolas Petton, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Stefan Schmiedl, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Nicolas Petton, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Stefan Schmiedl, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Nicolas Petton, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Paolo Bonzini, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements, Nicolas Petton, 2009/07/13
- Re: [Help-smalltalk] Iliad - updating elements,
Stefan Schmiedl <=
- Re: [Help-smalltalk] Iliad - updating elements, Stefan Schmiedl, 2009/07/14
- Re: [Help-smalltalk] Iliad - updating elements, Nicolas Petton, 2009/07/14