On 04/03/2015 10:29 AM, Ralph Lange wrote:
...
> Looking for a minimally invasive fix...
> Would you think it is possible and a good idea to base the queuing type
> decision (by value or by reference) on the size instead of the DBF type,
> so that arrays <= 64 bit total length (or maybe a configurable value)
> are put in the queue by value?
> That would solve our issue, and not create too much exceptionalism, right?
This would be a change to code handling db_field_log* correct? On the
one hand I think the semantics of using this structure with arrays is
already complicated.
On the other hand enabling DB_EVENT_LOG_STRINGS gives sizeof(union
native_value)==40, which is certainly enough for your case.
I support an alternative would be a memory pool for small arrays (<128
bytes?).
- Replies:
- Re: Small arrays in rsrv Andrew Johnson
- References:
- Small arrays in rsrv Ralph Lange
- Navigate by Date:
- Prev:
Small arrays in rsrv Ralph Lange
- Next:
mbbi/mbbo default setting Ralph Lange
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Small arrays in rsrv Ralph Lange
- Next:
Re: Small arrays in rsrv Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|