[ENH][CORE] LargeIntegersPlugin-update

Stephan Rudlof sr at evolgo.de
Sat Jun 10 17:25:55 UTC 2000


Squeakers,

"Change Set:		LargeIntegersPlugin-update
Date:			10 June 2000
Author:			Stephan Rudlof
Version:			1.1

- >>primGetModuleName for checking the version of the plugin -> 'v1.1';

- >>primDigitBitShiftMagnitude and >>primAnyBitFrom:to: for supporting -
not installing! - unification of shift semantics of negative Integers;
look for Fix-negativeRightShift-sr changeset for a description and
installing this functionality;

v1.0 (not named in the previous update)

- speeds up digitDiv:neg: at about 20%.


Precondition: 2163LargeIntegersPlugin

If you don't know how to compile a plugin, this changeset is probably of
no interest for you.


Translation
-------------

LargeIntegersPlugin translateDoInlining: true


Evaluations
-------------

Try

	LargeIntegersTest getModuleName.

If it is nil, you probably have the older LargeInteger module or none at
all; now you should see the version number 'v1.1'.
And

	| divident divisor |
	divident _ 1 << 1000. divisor _ 7.
	[10000 timesRepeat: [divident digitDiv: divisor neg: false]] timeToRun

with the 2163LargeIntegersPlugin (store it!) and the current variant of
the module.


Implementation notes:

In >>cCoreDigitDivDiv:len:rem:len:quo:len: the 'nibble' arithmetic is
removed.
"

Greetings,

Stephan
-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LargeIntegersPlugin-update.3.cs
Type: application/octet-stream
Size: 15657 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000610/a1154cf7/LargeIntegersPlugin-update.3.obj


More information about the Squeak-dev mailing list