Overview
| Artifact ID: | 14ff4b075a3a59e67d5c9f12a075bc36427af842 |
|---|---|
| Ticket: | 842446ffffffffffffffffffffffffffffffffff
{expand} bcc alternatives |
| User & Date: | msofer on 2003-11-22 20:21:28 |
Changes
- icomment:
Logged In: YES user_id=148712 New, expanded benchmark. Summarizing the results when expanding lists of up to 10 elements (typical case?): H: HEAD, I: Inplace, L: list, timings in usecs/call: - for [{expand}$cmd]: H7, I6, L5 (pure list opt: 6) - for [$cmd A {expand}$lst B]: H7, I6, L9 - as before, but A and B longer expanded lists: H18, I15, L22 Amazingly, the list version seems to be faster when expanding long lists (100 to 1000 elements). Given the very slight differences, I'm inclined to opt for the list-based version: it is much simpler and it does not interfere with the evaluation stack mechanics. Other opinions? - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"