Displaying 3 results from an estimated 3 matches for "tradabl".
Did you mean:
tradable
2011 Sep 14
1
rspec and should have_many through
Hi,
Anyone can help me with rspec shoulda validations please.
I can''t get the syntax right for these validations. Please correct me
it { should have_one :tradable, :through => :trade_order}
it { should belong_to :source, :polymorphic => true }
it { should have_many :transfers, :as => :source }
this is for Rspec 2, rails 3.1,
gem "rspec-rails"
gem "remarkable_activerecord", "~> 4.0.0.alpha4"
gem ...
2017 Nov 17
2
Less aggressive on the first allocation of CSR if detecting an early exit
...Cost is
the sum of the frequencies of spots where spill/split happen, and the
CSRCost is the cost of spilling CSR at the entry. If we say, for
example, 20 copies from pre-split are okay to trade against 1 csr spill
at the entry, then shouldn't we multiply FreqOfEntry with the 20 (number
of tradable copies)? Please me know if I miss something here?
>
>> By doing this, I would expect we mechanically get the desired
>> behavior
>> that CSRs get used for live-ranges that go through calls (otherwise
>> we
>> would have spilled).
>> My 2c.
>> Cheers,...
2017 Nov 16
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-14 17:22, Quentin Colombet wrote:
> Hi,
>
> I think it is kind of artificial to tie the CSRCost with the presence
> of calls.
> I think I’ve already mentioned it in one of the review, but I
> believe it would be better to differentiate when we want to use a CSR
> to avoid spilling or to avoid splitting. CSR instead of spilling is
> good, CSR instead of