View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000716 | LDMud 3.6 | General | public | 2010-01-24 05:44 | 2021-04-16 21:13 |
| Reporter | zesstra | Assigned To | zesstra | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | suspended | ||
| Target Version | 3.6.0 | ||||
| Summary | 0000716: Expand functionality of m_reallocate() to specify the desired allocated size. | ||||
| Description | m_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). | ||||
| Tags | No tags attached. | ||||
|
|
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. ;-) |
|
|
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. |
|
|
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. |
|
|
Because of ressources and this does not have a high priority, we close this for the time being. |
| 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 |