[haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement
- From: "yourpalal" <trac@xxxxxxxxxxxx>
- Date: Wed, 12 Jan 2011 20:44:43 -0000
#7091: Bluetooth UI layer refactoring and improvement
-------------------------------------------+------------------------------
Reporter: hamish | Owner: yourpalal
Type: enhancement | Status: assigned
Priority: normal | Milestone: R1
Component: Network & Internet/Bluetooth | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Has a Patch: 1
Platform: All | Blocking:
-------------------------------------------+------------------------------
Comment (by yourpalal):
Replying to [comment:12 oruizdorantes]:
> > Another option is to pass the view name in place of the index, which
combines the best of both worlds (fixed "handles" + no extra BList). This
also makes it simple to find the view in question using BView::FindView().
All that would be needed on the server side would be to make sure the
string literals are assigned to a const char* somewhere. How does that
sound to you?
>
> I like the idea, but I guess we would have an overhead each time we post
debug information for looking for the view, comparing strings :-/
Yes, but the overhead will still be small, considering the small number of
strings to compare, and the likelihood of 'short-circuiting' most
comparisons (e.g. they fail on the first or second character). It will of
course be slower than a constant time operation (as we have now).
--
Ticket URL: <http://dev.haiku-os.org/ticket/7091#comment:13>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
- References:
Other related posts:
- » [haiku-bugs] [Haiku] #7091: Bluetooth UI layer refactoring and improvement - hamish
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] [Haiku] #7091: Bluetooth UI layer refactoring and improvement - hamish
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - hamish
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] [Haiku] #7091: Bluetooth UI layer refactoring and improvement - hamish
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - hamish
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - oruizdorantes
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - oruizdorantes
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - oruizdorantes
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - oruizdorantes
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - hamish
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal
- » [haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement - yourpalal