View Issue Details

IDProjectCategoryView StatusLast Update
0000623LDMud 3.5LPC Compiler/Preprocessorpublic2022-10-06 21:44
ReporterGnomi Assigned ToGnomi  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionsuspended 
Platformi686OSDebian GNU/LinuxOS Version4.0
Summary0000623: Redesign switch() bytecode
DescriptionThe bytecode for switch is optimized so that no single bit is wasted even when it's aligned on word boundary later on. That makes the code hard to read, the debugging difficult and is awkward to port to other data models (and it's slower as some of the offsets are read byte-by-byte).

I think the saving of a few bytes can't justify that and we should redesign it (a few dummy bytes for aligning and a simple struct that is written directly to the bytecode would do).
TagsNo tags attached.

Relationships

child of 0000606 confirmed LDMud 3.6 Bytecode cleanup: exchange macros by functions and use dedicated types 

Activities

Gnomi

2022-10-06 21:44

manager   ~0002707

Will fix if at some later point I stumble upon this code again.

Issue History

Date Modified Username Field Change
2009-04-09 06:05 Gnomi New Issue
2009-04-09 06:15 Gnomi Relationship added child of 0000606
2022-10-06 21:44 Gnomi Assigned To => Gnomi
2022-10-06 21:44 Gnomi Status new => closed
2022-10-06 21:44 Gnomi Resolution open => suspended
2022-10-06 21:44 Gnomi Note Added: 0002707