| List: | Falcon Storage Engine | « Previous MessageNext Message » | |
| From: | Jim Starkey | Date: | November 3 2008 7:52pm |
| Subject: | Quick and Easy Performance Kicker | ||
| View as plain text | |||
EncodedDataString has a class member of type BigInt. The default BigInt
constructor calls clear to set the BigInt to a nice, pristine, all zeros
state, which is completely unecessary. BigInt default to uninitialized,
just like other values.
BigInt::clear() was showing up at 5% of Nimbus load cycles, even though
BigInt was never used.
A really easy performance kicker.
--
Jim Starkey
President, NimbusDB, Inc.
978 526-1376
| Thread | ||
|---|---|---|
| • Quick and Easy Performance Kicker | Jim Starkey | 3 Nov |
