View Issue Details

IDProjectCategoryView StatusLast Update
0000716LDMud 3.6Generalpublic2021-04-16 21:13
Reporterzesstra Assigned Tozesstra  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionsuspended 
Target Version3.6.0 
Summary0000716: Expand functionality of m_reallocate() to specify the desired allocated size.
Descriptionm_reallocate() currently creates a new mapping with a potentially different width.
It would be nice to specify the number of keys one expects (if one wants to add entries after m_reallocate()), just like with m_allocate(). Of course, the driver would honor the size request only if give_size > sizeof(orig_mapping).
TagsNo tags attached.

Activities

zesstra

2010-01-24 11:41

administrator   ~0001695

It would be nice to have a similar interface as the other mapping efuns (e.g. m_allocate): first size, then width.
Unfortunately, this is a completely uncompatible change. It will break code already using m_reallocate() (none in our lib so far). On the other hand, I think it will reduce confusion in the future.
Please comment wether you think such a change might be acceptable in 3.5 or not. ;-)

zesstra

2010-02-15 17:59

administrator   ~0001731

I got a few comments that people regard it as OK for 3.5. because the efun is not often used. I will then proceed with this.

Coogan

2010-03-03 17:40

reporter   ~0001754

We have a handful of occurances of m_reallocate() in our complete mudlib. For me@Tub, such a change is not only acceptable for 3.5 but could be done also earlier.

zesstra

2021-04-16 21:13

administrator   ~0002607

Because of ressources and this does not have a high priority, we close this for the time being.

Issue History

Date Modified Username Field Change
2010-01-24 05:44 zesstra New Issue
2010-01-24 11:41 zesstra Note Added: 0001695
2010-01-24 11:41 zesstra Status new => feedback
2010-02-15 17:59 zesstra Note Added: 0001731
2010-02-15 17:59 zesstra Assigned To => zesstra
2010-02-15 17:59 zesstra Status feedback => assigned
2010-03-03 17:40 Coogan Note Added: 0001754
2015-04-29 19:02 zesstra Project LDMud 3.5 => LDMud 3.6
2015-04-29 19:02 zesstra Category Efuns => General
2015-04-29 19:03 zesstra Target Version 3.5.0 => 3.6.0
2021-04-09 12:19 zesstra Assigned To zesstra =>
2021-04-09 12:19 zesstra Status assigned => confirmed
2021-04-16 21:13 zesstra Assigned To => zesstra
2021-04-16 21:13 zesstra Status confirmed => closed
2021-04-16 21:13 zesstra Resolution open => suspended
2021-04-16 21:13 zesstra Note Added: 0002607