On 20.02.2014 02:52, Ben Reser wrote:
> On 2/19/14, 5:30 PM, Branko Čibej wrote:
>> 3) Do nothing. Trying to support 16-bit architectures is futile. No-one will
>> host Subversion servers on microcontrollers.
> I'm perfectly fine with that decision.  I just wanted some feedback before I
> hid the limitation with a typecast.

FWIW, I'd be fine with replacing all ints with apr_int32_t in places
where we interact with apr_array_header_t and similar. Widening
promotions to int would be automatic, and narrowing conversions on
16-bit platforms would (presumably) make compilers yell very loudly.

The only reason /not/ to do that is marginally worse performance on some
64-bit platforms.

-- Brane


-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. [email protected]

Reply via email to