Github user SolidWallOfCode commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/653#discussion_r65767037
  
    --- Diff: iocore/hostdb/I_HostDBProcessor.h ---
    @@ -139,10 +138,49 @@ struct SRVInfo {
       unsigned int key;
     };
     
    -struct HostDBInfo {
    +struct HostDBInfo: public RefCountObj {
       /** Internal IP address data.
           This is at least large enough to hold an IPv6 address.
       */
    +
    +  int iobuffer_index;
    +  static HostDBInfo* alloc(int size=0) {
    +    size += sizeof(HostDBInfo);
    +    int iobuffer_index = iobuffer_size_to_index(size);
    --- End diff --
    
    How does the minimum/average size of the `HostDBInfo` instances compare to 
the smallest IOBuffer block size?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to